namespace Beauty.Net.MongoDB.Core;

/// <summary>
/// MongoDB配置选项
/// </summary>
public class MongoDBOptions
{
    /// <summary>
    /// 连接字符串
    /// </summary>
    public string ConnectionString { get; set; } = "mongodb://localhost:27017";

    /// <summary>
    /// 数据库名称
    /// </summary>
    public string DatabaseName { get; set; } = "BeautyDB";

    /// <summary>
    /// 连接超时时间（秒）
    /// </summary>
    public int ConnectTimeoutSeconds { get; set; } = 30;

    /// <summary>
    /// 是否启用SSL
    /// </summary>
    public bool UseSsl { get; set; } = false;
}